<?php

$menuitems = array(
   new App_Helper_TopMenuItem('home', 'Home', '/', 'default', 'index', 'index'),
   new App_Helper_TopMenuItem('services', 'Services', '/services', 'default', 'services', 'index'),
   new App_Helper_TopMenuItem('resourses', 'Resources', '/resources', 'default', 'resources', 'index'),
   new App_Helper_TopMenuItem('hosting', 'Hosting', '/hosting', 'default', 'hosting', 'index'),
   new App_Helper_TopMenuItem('admin', 'Admin', '/admin', 'admin', 'index', 'index')
);

echo '<ul>'.PHP_EOL;
echo implode('', $menuitems);
echo '<ul>'.PHP_EOL;